#include "lcd_app.h"


void LcdSprintf(uint8_t Line,char*format,...)
{
	char String[21];
	va_list arg;
	va_start(arg,format);
	vsprintf(String,format,arg);
	va_end(arg);
	LCD_DisplayStringLine(Line,(u8 *)String);
}

	uint8_t count = 0;

void lcd_proc(void)
{
	LcdSprintf(Line0,"Test LCD APP");
	LcdSprintf(Line1,"count: %d",count);
	LcdSprintf(Line2,"hello");
	count++;
	
}

